package com.itheima.regex;

public class Test2 {
    public static void main(String[] args) {
        String s = "小实施qweqwe5464小丹丹sdasdfsa456546小惠惠";
//        String result = s.replaceAll("[\\w&&[^_]]+", "vs");
//        System.out.println(result);
        String[] arr =s.split("[\\w&&[^_]]+");
        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }
    }
}
